<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2017/6/27
  Time: 17:21
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<jsp:include page="${pageContext.request.contextPath}/commons/common-js.jsp"/>
<html>
<head>
    <title>this is jQuery EasyUI demo!</title>
    <script type="text/javascript">
        function createTab() {
            $('#tt').tabs('add', {
                title: 'New Tab',
                content: 'Tab Body',
                closable: true,
                tools: [{
                    iconCls: 'icon-mini-refresh',
                    handler: function () {
                        alert('refresh');
                    }
                }]
            });
        }
    </script>
</head>
<body>
<div id="tt" class="easyui-tabs" style="width:500px;height:250px;">
    <button onclick="createTab();">anniu</button>
</div>
</body>
</html>
